package java8.atguigu.teacher.lambda06.stream01;

/**
 * @program lambda
 * @description:
 * @author: zhanglu
 * @create: 2019-05-27 22:22:00
 */
public class Transctions {


    private String num;
    private String name;
    private Integer year;
    private Double money;

    public Transctions() {
    }

    public Transctions(String num, String name, Integer year, Double money) {
        this.num = num;
        this.name = name;
        this.year = year;
        this.money = money;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getYear() {
        return year;
    }

    public void setYear(Integer year) {
        this.year = year;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    @Override
    public String toString() {
        return "Transctions{" +
                "num='" + num + '\'' +
                ", name='" + name + '\'' +
                ", year=" + year +
                ", money=" + money +
                '}';
    }
}
